<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>技术小馆 | 专业可视化设计</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        .hero-bg {
            background: linear-gradient(135deg, #4D6BFE 0%, #3A56D1 100%);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4em;
            line-height: 0.8;
            margin: 0.1em 0.1em 0.1em 0;
            color: #4D6BFE;
        }
        .highlight-box {
            border-left: 4px solid #4D6BFE;
            background-color: rgba(77, 107, 254, 0.05);
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: #4D6BFE;
            transform: translateX(-50%);
        }
        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-bg text-white py-20 md:py-32 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10 fade-in">
                <h1 class="text-4xl md:text-6xl font-bold mb-6 leading-tight">探索设计的无限可能</h1>
                <p class="text-xl md:text-2xl mb-8 opacity-90 leading-relaxed">专业可视化设计，打造令人惊叹的数字体验</p>
                <div class="flex flex-wrap gap-4">
                    <a href="#content" class="bg-white text-blue-600 hover:bg-blue-50 px-6 py-3 rounded-full font-medium transition-all duration-300 transform hover:-translate-y-1">开始探索</a>
                    <a href="#contact" class="border-2 border-white hover:bg-white hover:text-blue-600 px-6 py-3 rounded-full font-medium transition-all duration-300">联系我们</a>
                </div>
            </div>
            <div class="md:w-1/2 fade-in" style="animation-delay: 0.2s;">
                <div class="bg-white bg-opacity-10 p-6 rounded-2xl backdrop-filter backdrop-blur-sm">
                    <div class="mermaid">
                        graph LR
                            A[设计理念] --> B[用户体验]
                            A --> C[视觉美学]
                            A --> D[功能实现]
                            B --> E[易用性]
                            B --> F[交互设计]
                            C --> G[色彩理论]
                            C --> H[排版艺术]
                            D --> I[前端技术]
                            D --> J[性能优化]
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-6xl px-4 py-16" id="content">
        <!-- Featured Section -->
        <section class="mb-20">
            <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">核心设计原则</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover">
                    <div class="text-blue-500 mb-4 text-4xl">
                        <i class="fas fa-eye"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">视觉吸引力</h3>
                    <p class="text-gray-600">创造令人印象深刻的视觉效果，通过精心设计的色彩、排版和布局，立即吸引用户的注意力。</p>
                </div>
                <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover">
                    <div class="text-blue-500 mb-4 text-4xl">
                        <i class="fas fa-book-open"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">可读性优先</h3>
                    <p class="text-gray-600">确保内容清晰易读，跨设备提供舒适的阅读体验，通过合理的字号、行距和对比度优化阅读体验。</p>
                </div>
                <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover">
                    <div class="text-blue-500 mb-4 text-4xl">
                        <i class="fas fa-project-diagram"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">高效传达</h3>
                    <p class="text-gray-600">以美观的方式呈现信息，突出关键内容，引导用户理解核心思想，减少认知负荷。</p>
                </div>
            </div>
        </section>

        <!-- Article Section -->
        <section class="mb-20">
            <article class="prose max-w-none lg:prose-xl">
                <h2 class="text-3xl md:text-4xl font-bold mb-8">现代网页设计方法论</h2>
                
                <div class="drop-cap mb-6">
                    在数字时代，优秀的网页设计不仅仅是美观的界面，更是用户体验、视觉传达与技术实现的完美结合。我们相信，好的设计应该讲述故事、激发情感并创造价值。
                </div>
                
                <p>通过多年的实践和研究，我们总结出一套完整的现代网页设计方法体系，帮助客户打造既美观又高效的数字产品。</p>
                
                <div class="highlight-box p-6 my-8 rounded-r-lg">
                    <h3 class="text-2xl font-bold mb-4 text-blue-600">设计四要素</h3>
                    <p>成功的网页设计需要平衡四个关键要素：<strong>视觉美学</strong>、<strong>用户体验</strong>、<strong>内容策略</strong>和<strong>技术实现</strong>。忽略任何一个方面都会导致整体效果的下降。</p>
                </div>
                
                <h3 class="text-2xl font-bold mt-12 mb-6">设计流程</h3>
                <div class="relative pl-8 mt-8 mb-12">
                    <div class="absolute left-0 top-0 h-full w-1 bg-blue-100"></div>
                    
                    <div class="timeline-item relative pb-8">
                        <div class="text-blue-600 font-bold mb-2">需求分析</div>
                        <p>深入了解业务目标、用户群体和项目约束，明确设计方向。</p>
                    </div>
                    
                    <div class="timeline-item relative pb-8">
                        <div class="text-blue-600 font-bold mb-2">原型设计</div>
                        <p>创建低保真原型，快速验证信息架构和用户流程。</p>
                    </div>
                    
                    <div class="timeline-item relative">
                        <div class="text-blue-600 font-bold mb-2">视觉设计</div>
                        <p>应用色彩理论、排版原则和视觉层次，打造美观界面。</p>
                    </div>
                </div>
                
                <h3 class="text-2xl font-bold mt-12 mb-6">数据可视化实践</h3>
                <p>在信息爆炸的时代，有效的数据可视化能够帮助用户快速理解复杂信息。我们使用最先进的工具和技术，创建既美观又有洞察力的数据呈现。</p>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-8 my-12">
                    <div class="bg-white p-6 rounded-xl shadow-md">
                        <div class="mermaid">
                            pie
                                title 设计元素重要性
                                "色彩" : 25
                                "排版" : 30
                                "留白" : 20
                                "图像" : 15
                                "交互" : 10
                        </div>
                    </div>
                    <div class="bg-white p-6 rounded-xl shadow-md">
                        <div class="mermaid">
                            gantt
                                title 设计项目时间线
                                dateFormat  YYYY-MM-DD
                                section 设计阶段
                                需求分析     :a1, 2023-10-01, 7d
                                原型设计     :after a1, 10d
                                视觉设计     :2023-10-18, 14d
                                section 开发阶段
                                前端实现     :2023-11-01, 21d
                                测试优化     :2023-11-22, 14d
                        </div>
                    </div>
                </div>
            </article>
        </section>

        <!-- Bento Grid Section -->
        <section class="mb-20">
            <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">设计工具与技术</h2>
            <div class="grid grid-cols-1 md:grid-cols-4 gap-6">
                <div class="md:col-span-2 bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-palette"></i>
                        </div>
                        <h3 class="text-xl font-bold">设计工具</h3>
                    </div>
                    <p class="text-gray-600">使用Figma、Adobe Creative Suite等专业工具，打造精准的视觉设计。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Figma</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Sketch</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Photoshop</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Illustrator</span>
                    </div>
                </div>
                
                <div class="bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-code"></i>
                        </div>
                        <h3 class="text-xl font-bold">前端技术</h3>
                    </div>
                    <p class="text-gray-600">HTML5、CSS3、JavaScript及现代框架，实现精准的设计还原。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">React</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Vue</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Tailwind</span>
                    </div>
                </div>
                
                <div class="bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-chart-line"></i>
                        </div>
                        <h3 class="text-xl font-bold">数据可视化</h3>
                    </div>
                    <p class="text-gray-600">D3.js、Chart.js等工具创建交互式数据可视化体验。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">D3.js</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Chart.js</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Mermaid</span>
                    </div>
                </div>
                
                <div class="md:col-span-2 bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-mobile-alt"></i>
                        </div>
                        <h3 class="text-xl font-bold">响应式设计</h3>
                    </div>
                    <p class="text-gray-600">确保在所有设备上提供一致的用户体验，从手机到桌面显示器。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Flexbox</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Grid</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Media Queries</span>
                    </div>
                </div>
                
                <div class="bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-rocket"></i>
                        </div>
                        <h3 class="text-xl font-bold">性能优化</h3>
                    </div>
                    <p class="text-gray-600">通过代码分割、懒加载等技术确保极速加载体验。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">Lazy Load</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">PWA</span>
                    </div>
                </div>
                
                <div class="bg-white p-8 rounded-2xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="text-blue-500 text-3xl mr-4">
                            <i class="fas fa-users"></i>
                        </div>
                        <h3 class="text-xl font-bold">用户体验</h3>
                    </div>
                    <p class="text-gray-600">以用户为中心的设计方法，创建直观易用的界面。</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">User Research</span>
                        <span class="bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-sm">A/B Testing</span>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- Contact Section -->
    <section class="bg-gray-100 py-16" id="contact">
        <div class="container mx-auto max-w-6xl px-4">
            <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">开启您的设计之旅</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-12">
                <div>
                    <h3 class="text-2xl font-bold mb-6">联系我们</h3>
                    <p class="mb-6">无论您有任何设计需求或问题，我们都乐意倾听并提供专业建议。</p>
                    <div class="space-y-4">
                        <div class="flex items-start">
                            <div class="text-blue-500 text-xl mr-4 mt-1">
                                <i class="fas fa-envelope"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">电子邮件</h4>
                                <p class="text-gray-600">contact@jishuxiaoguan.com</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="text-blue-500 text-xl mr-4 mt-1">
                                <i class="fas fa-phone-alt"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">电话咨询</h4>
                                <p class="text-gray-600">+86 123 4567 8910</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="text-blue-500 text-xl mr-4 mt-1">
                                <i class="fas fa-map-marker-alt"></i>
                            </div>
                            <div>
                                <h4 class="font-medium">办公地址</h4>
                                <p class="text-gray-600">北京市海淀区科技园区88号创新大厦10层</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <form class="bg-white p-8 rounded-xl shadow-md">
                        <div class="mb-6">
                            <label for="name" class="block text-gray-700 font-medium mb-2">您的姓名</label>
                            <input type="text" id="name" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition">
                        </div>
                        <div class="mb-6">
                            <label for="email" class="block text-gray-700 font-medium mb-2">电子邮箱</label>
                            <input type="email" id="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition">
                        </div>
                        <div class="mb-6">
                            <label for="message" class="block text-gray-700 font-medium mb-2">您的需求</label>
                            <textarea id="message" rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"></textarea>
                        </div>
                        <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-3 px-6 rounded-lg transition-all duration-300 transform hover:-translate-y-1">提交咨询</button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white py-12 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h3 class="text-2xl font-bold">技术小馆</h3>
                    <p class="text-gray-400 mt-2">专业设计与开发服务</p>
                </div>
                <div class="text-center md:text-right">
                    <p class="text-gray-400">探索更多内容</p>
                    <a href="http://www.yuque.com/jtostring" class="text-blue-400 hover:text-blue-300 transition mt-2 inline-block">http://www.yuque.com/jtostring</a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-500 mb-4 md:mb-0">© 2023 技术小馆. 保留所有权利.</p>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-weixin text-xl"></i></a>
                    <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-weibo text-xl"></i></a>
                    <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github text-xl"></i></a>
                    <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-linkedin text-xl"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Initialize Mermaid
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            fontFamily: 'Noto Sans SC, sans-serif'
        });
        
        // Simple animation for scroll-triggered elements
        document.addEventListener('DOMContentLoaded', function() {
            const animateOnScroll = function() {
                const elements = document.querySelectorAll('.fade-in');
                elements.forEach(element => {
                    const elementPosition = element.getBoundingClientRect().top;
                    const screenPosition = window.innerHeight / 1.3;
                    
                    if(elementPosition < screenPosition) {
                        element.classList.add('fade-in');
                    }
                });
            };
            
            window.addEventListener('scroll', animateOnScroll);
            animateOnScroll(); // Trigger on load
        });
    </script>
</body>
</html>